import MaterialList from '@material/lists.vue';
import Vue from 'vue';
import Router from 'vue-router';
import Main from '@todo/Main/index.vue'
Vue.use(Router);
const router = new Router({
  mode: 'history',
  routes: [
    {
      path: '/list',
      name: 'MaterialList',
      component: MaterialList,
    },
    {
      path: '/',
      name: 'index',
      component: Main,
      children: [
        {
          path: '/calendar',
          name: 'calendar',
          component: () => import('@views/Calendar/index.vue')
        }
      ]
    },
    {
      path: '/',
      name: 'index',
      component: Main,
      children: [
        {
          path: '/customer',
          name: 'customer',
          component: () => import('@views/Customer/index.vue')
        },
      ]
    }
  ],
});
export default router;
